<?
//PAge d'include des test du jeu dans la frame frame test
//--------------------------------------------------------
/*
Modification:




*/

 $PAGE=NULL; $VAR_CONFIRM=1;
            //$tmp_patth="";
            
session_start();
REQUIRE ("$tmp_patth../../protect/connect_jeu.php");
 require ("$tmp_patth../fonction.php");
 

$PAGE.="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//FR\">
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">
<meta name=\"Author\" LANG=\"fr\" content=\"Khiguard\">
<meta name=\"Description\" content=\"a faire\">
<meta name=\"Keywords\" LANG=\"fr\" content=\"gratuit, jeu, jeux, jeux gratuit, civilization\">
<meta name=\"Identifier-URL\" content=\"http://sombredestin.net\">
<meta name=\"Reply-to\" content=\"webmaster@sombredestin.net\">
<meta name=\"revisit-after\" content=\"7\">
<meta name=\"Publisher\" content=\"Khiguard\">
<meta name=\"Copyright\" content=\"Khiguard 2006 tout droit reserver.\">
<meta name=\"Generator\" content=\"Moi, mes mains et beaucoup de patience. :-)\">

<SCRIPT TYPE=\"text/javascript\" SRC=\"../fonction.js\"></SCRIPT>
<SCRIPT TYPE=\"text/javascript\" SRC=\"../../common_script.js\"></SCRIPT>
<meta http-equiv=\"content-style-type\" content=\"text/css\">
<style type=\"text/css\">
@import url(../../templates/$_TEMPLATE/sd_jeu.css);
</style>
<title>Sombre Destin</title>
</head>";
//ECHO $PAGE;


IF ($_PERSO_ID==0){echo "pas bon";}

SWITCH ($p){

        case 'deplacement':
         echo "-------$_SESSION_VAR_SORTE---";
         IF ($_SESSION_VAR_SORTE=='a'){
               REQUIRE("armee/armee_deplacement.php");
         }ELSE{

              REQUIRE("units/unit_deplacement.php");
          }


       //DIVERS-------------------------------------------------------------------
       CASE 'diver_mod_blocnote': ECHO $PAGE;REQUIRE("divers/diver_mod_blocnote.php"); BREAK;
       
       //UNITE---------------------------------------------------------------------
       CASE 'test_unit': REQUIRE("units/unit_test.php"); BREAK;
       CASE 'destr_inf': REQUIRE("units/destr_inf.php"); BREAK;
       CASE 'debarquement': REQUIRE("units/debarquement.php"); BREAK;
       CASE 'embarquement': REQUIRE("units/embarquement.php"); BREAK;
       CASE 'test_bombarder': REQUIRE("combat/test_bombarder.php"); BREAK;
       
       //ARMEE---------------------------------------------------------------------
       CASE 'armee_changer_nom': REQUIRE("armee/armee_changernom.php"); BREAK;
       
       CASE 'armee_deplacement': REQUIRE("armee/armee_deplacement.php"); BREAK;

       CASE 'armee_test':
          IF( $_POST['option']=='sortir'){REQUIRE("ville/armee/sortir_armee.php"); }
          ELSEIF( $_POST['option']=='desengager'){REQUIRE("ville/armee/desengager_armee.php"); }

          EXIT;
       CASE 'test_armee': REQUIRE("armee/armee_test.php"); BREAK;
       CASE 'armee_changer_image': REQUIRE("armee/armee_changerimage.php"); BREAK;
       
         CASE 'unite_modarm_retirer': ECHO $PAGE;REQUIRE("armee/mod_armee_retirer.php"); BREAK;
       CASE 'unite_modarm_ajouter': ECHO $PAGE;REQUIRE("armee/mod_armee_ajouter.php"); BREAK;
       //BATIMENT------------------------------------------------------------------
       CASE 'test_bat': REQUIRE("batiments/bat_test.php"); BREAK;

       
       //RECHERCHE-----------------------------------------------------------------
       CASE 'ajout_recherche': ECHO $PAGE;REQUIRE("recherche/ajout_recherche.php"); BREAK; //Pour ajouter une recherche
       CASE 'recherche_annulation':ECHO $PAGE; REQUIRE("recherche/recherche_annulation.php"); BREAK;  //Pour annuler une recherche

        CASE 'ajout_magie': ECHO $PAGE;REQUIRE("recherche/ajout_magie.php"); BREAK; //Pour ajouter une recherche

       CASE 'ajout_sort':ECHO $PAGE; REQUIRE("recherche/ajout_sort.php"); BREAK; //Pour ajouter une recherche

         //ADD-----------------------------------------------------------------
       CASE 'add_upgrade': ECHO $PAGE;REQUIRE("ville/batiment/add_upgrade.php"); BREAK;
       
       //COMMERCE---------------------------------------------------------------
       CASE 'commerce': ECHO $PAGE;REQUIRE("commerce/commerce_lancer.php"); BREAK;
       CASE 'commerce_test_l':ECHO $PAGE; REQUIRE("commerce/commerce_test_l.php"); BREAK;
       CASE 'commerce_test_2':ECHO $PAGE; REQUIRE("commerce/commerce_test_2.php"); BREAK;
       CASE 'commerce_accepter':ECHO $PAGE; REQUIRE("commerce/commerce_accepter.php"); BREAK;
       
       //VILLE------------------------------------------------------------------VILLE
       CASE 'ville_cree_armee':ECHO $PAGE; REQUIRE("ville/armee/cree_armee.php"); BREAK;
       CASE 'ville_modarm_retirer': ECHO $PAGE;REQUIRE("ville/armee/mod_armee_retirer.php"); BREAK;
       CASE 'ville_modarm_ajouter': ECHO $PAGE;REQUIRE("ville/armee/mod_armee_ajouter.php"); BREAK;
       CASE 'ville_tra_resource_lancer': ECHO $PAGE;REQUIRE("ville/ressource/ville_tra_resource_lancer.php"); BREAK;
}//Fin du switch $p




    
?>
